package com.csyf.manager.entity;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author: casper
 * @Description: 通道属性Entity
 * @Date: Created in 2018/10/27 14:58
 */

@Data
@Table(name="sys_channel_attr")
public class SysChannelAttr implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 通道名称 **/
    private String channelName;

    /** 交易类型 **/
    @Id
    private String service;

    /** 单笔最低交易金额 **/
    private BigDecimal minMoney;

    /** 单笔最高交易金额 **/
    private BigDecimal maxMoney;

    /** 余额名称 **/
    private String balanceName;

    /** 结算类型(D0,T1,C0,C1) **/
    private String settle;

    /** 0:交易,1:余额代付,2:垫资代付,3:跳过资金验证 **/
    private Integer flag;


    /** 是否有单独的费率,1:有,0:没有 **/
    private Integer israte;

    /** 最低手续费金额 **/
    private BigDecimal minTip;

    /** 垫资比例 **/
    private BigDecimal rate;

    private String remark;


}
